<ion-view title="酒店基本信息">
    <ion-nav-buttons side="right">
        <button class="button button-clear" ng-if="EDITE_MODEL" ng-click="doEdit()">
            编辑
        </button>
    </ion-nav-buttons>
    <ion-content class="crm-content">
        <ul class="list">
            <li class="item">
                酒店名称
                <span class="item-note">
                  {{hotel.hotelName}}
                </span>
            </li>
            <li class="item">
                房间数量
                <span class="item-note">
                  {{hotel.roomNum}}
                </span>
            </li>
            <li class="item">
                前台电话
                <span class="item-note">
                  {{hotel.hotelPhone}}
                </span>
            </li>
            <li class="item">
                开业日期
                <span class="item-note">
                  {{hotel.openTime | date:'yyyy-MM-dd'}}
                </span>
            </li>
            <li class="item">
                装修日期
                <span class="item-note">
                  {{hotel.decorateTime | date:'yyyy-MM-dd'}}
                </span>
            </li>
            <li class="item">
                到店时间
                <span class="item-note">
                  {{hotel.retentionTime | replace2char: ':': 2}}
                </span>
            </li>
            <li class="item">
                离店时间
                <span class="item-note">
                  {{hotel.defaultLeaveTime | replace2char: ':': 2}}
                </span>
            </li>
            <li class="item">
                酒店介绍
                <div class="crm-empty10"></div>
                <div style="color: #aaa; font-size: 14px;  white-space: initial;">{{hotel.introduction}}</div>
            </li>
            <li class="item">
                备注
                <div class="crm-empty10"></div>
                <div style="color: #aaa; font-size: 14px;  white-space: initial;">{{hotel.remark}}</div>
            </li>
        </ul>
        <ul class="list">
            <li class='item item-icon-right item-thumbnail-right'>
                <img ng-src="{{hotel.def[0].url+'?imageView2/1/w/80'}}" ng-click="openBrowserModal(hotel.def, 0, true)" err-src="img/no-img.png" src="img/no-img.png">
                门头招牌
                <i class="icon ion-chevron-right icon-accessory"></i>
            </li>
            <li class='item item-icon-right item-thumbnail-right'>
                <img ng-src="{{hotel.lobby[0].url+'?imageView2/1/w/80'}}" ng-click="openBrowserModal(hotel.lobby, 0, true)" err-src="img/no-img.png" src="img/no-img.png">
                大堂
                <i class="icon ion-chevron-right icon-accessory"></i>
            </li>
            <li class='item item-icon-right item-thumbnail-right'>
                <img ng-src="{{hotel.mainHousing[0].url+'?imageView2/1/w/80'}}" ng-click="openBrowserModal(hotel.mainHousing, 0, true)" err-src="img/no-img.png" src="img/no-img.png" >
                主力房型
                <i class="icon ion-chevron-right icon-accessory"></i>
            </li>
        </ul>
        <ul class="list">
            <li class='item item-icon-right item-thumbnail-right'>
                <img ng-src="{{hotel.businessLicenseFront +'?imageView2/1/w/80'}}" ng-click="openBrowserModal(hotel.businessLicenseFront, 0, true)" err-src="img/no-img.png" src="img/no-img.png">
                营业执照
                <i class="icon ion-chevron-right icon-accessory"></i>
            </li>
            <li class='item item-icon-right item-thumbnail-right'>
                <img ng-src="{{hotel.idCardFront +'?imageView2/1/w/80'}}" ng-click="openBrowserModal(hotel.idCardFront, 0, true)" err-src="img/no-img.png" src="img/no-img.png">
                身份证-正面
                <i class="icon ion-chevron-right icon-accessory"></i>
            </li>
            <li class='item item-icon-right item-thumbnail-right'>
                <img ng-src="{{hotel.idCardBack +'?imageView2/1/w/80'}}" ng-click="openBrowserModal(hotel.idCardBack, 0, true)" err-src="img/no-img.png" src="img/no-img.png">
                身份证-反面
                <i class="icon ion-chevron-right icon-accessory"></i>
            </li>
        </ul>
    </ion-content>
</ion-view>